import * as types from './mutation-type'
const matutaion = {
  [types.SET_USERINFO] (state, data) {
    state.userInfo = data
  },
  [types.SET_LOGIN] (state, data) {
    state.loginData = data
  },
  [types.SET_ADDRESS] (state, data) {
    state.address = data
  },
  [types.IS_IPHONEX] (state, data) {
    state.isIphoneX = data
  },
  [types.NOTIFY_ITEM] (state, data) {
    state.notify_item = data
  }

}
export default matutaion
